package cn.lwj.webService.entity;

import cn.lwj.webService.util.XmlXStreamUtils;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_xf_yqxksp")
public class TxfYqxksp implements Serializable {

    private String cYqxkId;//主键
    private String cYqyy;//申请延期原因
    private Date dtSqsj;//申请时间
    private String cSqfybm;//申请法院编码
    private String cSqfymc;//申请法院名称
    private String cSqbmbm;//申请部门编码
    private String cSqbmmc;//申请部门名称
    private String cSqrbm;//申请人编码
    private String cSqrmc;//申请人名称
    private Integer nSpbz;//审批标志，待审批：0，同意：1，不同意：2
    private Integer nTbbz;//同步标志, 1:申请已拉取  2:反馈已拉取
    private String cSpfybm;//审批法院编码
    private String cSpfymc;//审批法院名称
    private String cSpbmbm;//审批部门编码
    private String cSpbmmc;//审批部门名称
    private String cSprbm;//审批人编码
    private String cSprmc;//审批人名称
    private String cSpyjms;//审批意见描述
    private Date dtSpsj;//审批时间
    private Date dtTimestamp;//时间戳

    @Transient
    private String cJzbIds;//申请的案件四级业务id

    @Transient
    private String currentJzbId;//上报用  当前jzbid

    @Transient
    public String getcJzbIds() {
        return cJzbIds;
    }

    public void setcJzbIds(String cJzbIds) {
        this.cJzbIds = cJzbIds;
    }

    @Transient
    public String getCurrentJzbId() {
        return currentJzbId;
    }

    public void setCurrentJzbId(String currentJzbId) {
        this.currentJzbId = currentJzbId;
    }

    public static String toXmlString(TxfYqxksp bean) {
        Map<String, Class> aliasInfo = new HashMap() {{
            put("result", TxfYqxksp.class);
        }};
        return XmlXStreamUtils.objectToXml(1, bean, aliasInfo);
    }

    @Id
    @Column(name = "C_ID")
    public String getcYqxkId() {
        return cYqxkId;
    }

    public void setcYqxkId(String cYqxkId) {
        this.cYqxkId = cYqxkId;
    }

    @Column(name = "C_YQYY")
    public String getcYqyy() {
        return cYqyy;
    }

    public void setcYqyy(String cYqyy) {
        this.cYqyy = cYqyy;
    }

    @Column(name = "DT_SQSJ")
    public Date getDtSqsj() {
        return dtSqsj;
    }

    public void setDtSqsj(Date dtSqsj) {
        this.dtSqsj = dtSqsj;
    }

    @Column(name = "C_SQFYBM")
    public String getcSqfybm() {
        return cSqfybm;
    }

    public void setcSqfybm(String cSqfybm) {
        this.cSqfybm = cSqfybm;
    }

    @Column(name = "C_SQFYMC")
    public String getcSqfymc() {
        return cSqfymc;
    }

    public void setcSqfymc(String cSqfymc) {
        this.cSqfymc = cSqfymc;
    }

    @Column(name = "C_SQBMBM")
    public String getcSqbmbm() {
        return cSqbmbm;
    }

    public void setcSqbmbm(String cSqbmbm) {
        this.cSqbmbm = cSqbmbm;
    }

    @Column(name = "C_SQBMMC")
    public String getcSqbmmc() {
        return cSqbmmc;
    }

    public void setcSqbmmc(String cSqbmmc) {
        this.cSqbmmc = cSqbmmc;
    }

    @Column(name = "C_SQRBM")
    public String getcSqrbm() {
        return cSqrbm;
    }

    public void setcSqrbm(String cSqrbm) {
        this.cSqrbm = cSqrbm;
    }

    @Column(name = "C_SQRMC")
    public String getcSqrmc() {
        return cSqrmc;
    }

    public void setcSqrmc(String cSqrmc) {
        this.cSqrmc = cSqrmc;
    }

    @Column(name = "N_SPBZ")
    public Integer getnSpbz() {
        return nSpbz;
    }

    public void setnSpbz(Integer nSpbz) {
        this.nSpbz = nSpbz;
    }

    @Column(name = "N_TBBZ")
    public Integer getnTbbz() {
        return nTbbz;
    }

    public void setnTbbz(Integer nTbbz) {
        this.nTbbz = nTbbz;
    }

    @Column(name = "C_SPFYBM")
    public String getcSpfybm() {
        return cSpfybm;
    }

    public void setcSpfybm(String cSpfybm) {
        this.cSpfybm = cSpfybm;
    }

    @Column(name = "C_SPFYMC")
    public String getcSpfymc() {
        return cSpfymc;
    }

    public void setcSpfymc(String cSpfymc) {
        this.cSpfymc = cSpfymc;
    }

    @Column(name = "C_SPBMBM")
    public String getcSpbmbm() {
        return cSpbmbm;
    }

    public void setcSpbmbm(String cSpbmbm) {
        this.cSpbmbm = cSpbmbm;
    }

    @Column(name = "C_SPBMMC")
    public String getcSpbmmc() {
        return cSpbmmc;
    }

    public void setcSpbmmc(String cSpbmmc) {
        this.cSpbmmc = cSpbmmc;
    }

    @Column(name = "C_SPRBM")
    public String getcSprbm() {
        return cSprbm;
    }

    public void setcSprbm(String cSprbm) {
        this.cSprbm = cSprbm;
    }

    @Column(name = "C_SPRMC")
    public String getcSprmc() {
        return cSprmc;
    }

    public void setcSprmc(String cSprmc) {
        this.cSprmc = cSprmc;
    }

    @Column(name = "C_SPYJMS")
    public String getcSpyjms() {
        return cSpyjms;
    }

    public void setcSpyjms(String cSpyjms) {
        this.cSpyjms = cSpyjms;
    }

    @Column(name = "DT_SPSJ")
    public Date getDtSpsj() {
        return dtSpsj;
    }

    public void setDtSpsj(Date dtSpsj) {
        this.dtSpsj = dtSpsj;
    }

    @Column(name = "DT_TIMESTAMP")
    public Date getDtTimestamp() {
        return dtTimestamp;
    }

    public void setDtTimestamp(Date dtTimestamp) {
        this.dtTimestamp = dtTimestamp;
    }

    @Override
    public String toString() {
        return "TxfYqxksp{" +
                "cYqxkId='" + cYqxkId + '\'' +
                ", cYqyy='" + cYqyy + '\'' +
                ", dtSqsj=" + dtSqsj +
                ", cSqfybm='" + cSqfybm + '\'' +
                ", cSqfymc='" + cSqfymc + '\'' +
                ", cSqbmbm='" + cSqbmbm + '\'' +
                ", cSqbmmc='" + cSqbmmc + '\'' +
                ", cSqrbm='" + cSqrbm + '\'' +
                ", cSqrmc='" + cSqrmc + '\'' +
                ", nSpbz=" + nSpbz +
                ", nTbbz=" + nTbbz +
                ", cSpfybm='" + cSpfybm + '\'' +
                ", cSpfymc='" + cSpfymc + '\'' +
                ", cSpbmbm='" + cSpbmbm + '\'' +
                ", cSpbmmc='" + cSpbmmc + '\'' +
                ", cSprbm='" + cSprbm + '\'' +
                ", cSprmc='" + cSprmc + '\'' +
                ", cSpyjms='" + cSpyjms + '\'' +
                ", dtSpsj=" + dtSpsj +
                ", dtTimestamp=" + dtTimestamp +
                ", cJzbIds='" + cJzbIds + '\'' +
                '}';
    }
}
